package com.insigma.business.qrcode.notice.dao;

import com.insigma.business.qrcode.notice.entity.NoticeAnnouncementEntity;
import com.insigma.business.qrcode.notice.entity.NoticeFileEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface NoticeAnnouncementDAO {
    /**
     * 按条件查询
     * @param entity
     * @return
     */
    List<NoticeAnnouncementEntity> queryAll(NoticeAnnouncementEntity entity);

    List<NoticeFileEntity> queryNaFile(@Param("naId") final int naId);

    String queryAdmDivCode(@Param("soldierId") final String soldierId);
}
